PATH=/usr/bin:/usr/sbin:/bin:/sbin
umask 022

export TERM=vt100
export TERMINFO=/usr/share/terminfo

USER=`id -un`
HOME=/home/$USER
HOSTNAME=`/bin/hostname`
#PS1='[$USER@$HOSTNAME ${PWD/#$HOME/~}]# '
PS1='[\u@\h \w]# '

PAGER=$(which less 2>/dev/null)
if [ -z "$PAGER" ]; then
  PAGER=$(which more 2>/dev/null)
elif [ ! -L $PAGER ]; then 
  PAGER="$PAGER -irs"
fi
MANPAGER=$PAGER

alias ls='ls --color=auto'
alias l='ls -CF'
alias ll='ls -al'

export PS1 HOME PAGER MANPAGER PATH
. ~/.profile 2>/dev/null
